package com.woniuxy.commons.exception.orderINfo;

public enum OrderInfoExceptionCode {
    ORDER_INFO_ORDER_NOT_EXIST(30001,"订单不存在"),
    ORDER_INFO_STATE_ERROR(30002,"订单状态错误"),
//    ORDER_INFO_NOT_ALL_TICKETS(40003,"有电影票没查到"),
//    ORDER_INFO_SESSION_HAD_STARTED(40004,"电影已开始"),
//    ORDER_INFO_UPDATE_TICKET_STATE_ERROR(40005,"有电影票已被购买"),
    ;
    

    private Integer code;
    private String message;

    OrderInfoExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
